/**
 * Created by kevin on 17/4/18.
 */
var domain = 'http://localhost:5584'.replace(/((http|ftp|https):\/\/)/g, '')
var path = '/';



var str = 'x-pond-sessionid=9e7a967709f344a7b2cda99de0b4c1b8; Path=/';
var reg = /x\-pond\-sessionid=(\w+)\;/
var str1 = str.replace(reg,'')
console.log(RegExp.$1);
var reg1 = /x\-pond\-sessionid=(\w+)b8/
var str1 = str.replace(reg1,'adsf')
console.log(RegExp.$1);